<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
	<?php include_http_metas() ?>
	<?php include_metas() ?>
	<?php include_title() ?>
	<link rel="shortcut icon" href="/favicon.ico" />
	<?php include_stylesheets() ?>
	<?php use_javascript('jquery-1.4.2.min.js'); ?>
	<?php use_javascript('article.js'); ?>

<?php use_javascript('new_article.js'); ?>
	<?php use_javascript('rpx.js'); ?>
	<?php include_javascripts() ?>
    </head>
    <body>
	<div id="header">
	    <a href="<?php echo url_for('@home') ?>">
		<img id="logo" src="/images/logo.png" alt="" />
		<h1>5 minút</h1>
		<div id="desc">dôležité informácie do každej domácnosti, rýchlo a bezplatne</div>
	    </a>
	    <div id="user_info">
		<a href="<?php echo url_for('@profile') ?>"><?php if ($sf_user->isAuthenticated()): echo $sf_user->getAttribute('name');  ?> </a>
		<a href="<?php echo url_for('@logout') ?>">odhlásiť</a>
		    <?php else: ?>
		<a class="rpxnow" onclick="return false;"
		   href="https://open-news-project.rpxnow.com/openid/v2/signin?token_url=http%3A%2F%2Fonp%2Ffrontend_dev.php%2Flogin%2F">Prihlásiť/Registrovať</a>
		   <?php endif; ?>
	    </div>

	</div>
	&nbsp;
	<div id="main">
	    <?php echo $sf_content ?>
	</div>
	<div id="footer">
	žiadne práva vyhradené, 2010
	</div>
    </body>
</html>
